using MediatR;
using SumerCoreDevOps.Domain.Entities;

namespace SumerCoreDevOps.Application.Permissions.Commands;

/// <summary>
/// 创建权限命令
/// </summary>
public record CreatePermissionCommand(
    string PermissionCode,
    string PermissionName,
    string? Description = null,
    string? Category = null,
    string? ResourceType = null,
    string? ResourceIdentifier = null,
    int SortOrder = 0,
    string? CreatedBy = null
) : IRequest<Permission>;
